home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #11
/
Amiga Plus CD - 2004 - No. 11.iso
/
AmiSoft
/
Dev
/
misc
/
temgen.lha
/
Temgen
/
Amigamain
/
Example2
/
Makefile
< prev
Wrap
Makefile
|
2004-06-26
|
317b
|
21 lines
CC = gcc
CFLAGS = -noixemul -W
LDFLAGS = -s
app: amigamain.o app.o
$(CC) $(CFLAGS) -o $@ amigamain.o app.o $(LDFLAGS)
amigamain.c: ex2.tg
tg ex2.tg
amigamain.o: amigamain.c amigamain.h app.h
$(CC) $(CFLAGS) -c -o $@ $<
app.o: app.c app.h amigamain.h
$(CC) $(CFLAGS) -c -o $@ $<
clean:
rm -f *.o
rm -f app